Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Body Class / AddTable Method / AddTable(String[],Style) Method
A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second dimension determines the number of cells.
The table style.

In This Topic
    AddTable(String[],Style) Method
    In This Topic
    Adds a Table to the end of the current body.
    Syntax
    'Declaration
     
    Public Overloads Function AddTable( _
       ByVal texts() As System.String, _
       ByVal style As Style _
    ) As Table
    public Table AddTable( 
       System.string[] texts,
       Style style
    )

    Parameters

    texts
    A two dimensional array of texts to put in the cells. The first dimension determines the number of rows, the second dimension determines the number of cells.
    style
    The table style.

    Return Value

    The added Table.
    See Also